package com.leejw.tradeblogsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leejw.tradeblogsystem.common.Result;
import com.leejw.tradeblogsystem.model.Article;

import java.util.List;

public interface ArticleService extends IService<Article> {
    Result saveArticle(Article articleVO);

    Result deleteArticle(Integer id);

    Result updateArticle(Article articleVO);

    List<Article> findAllArticle();

    List<Article> findArticle(String createTime);

    List<Article> findRecommendArticle();

    Article findArticleById(Integer id);
}
